﻿<%@ Page Language="C#" MasterPageFile="~/template.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="TravelExpertsASP.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="loginForm"">
       
 <img src="/images/bora_bora.jpg" alt="pic of Bora Bora" class="imgBanner" />
             
               
                     <!-- here is where the dinamically created elements will be placed -->
             
          <table >
 
            <tr>
                <td>User Name:</td>
                <td>
                    <asp:TextBox ID="txtuserNm" runat="server" MaxLength="50"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvUserNm" runat="server" 
                        ControlToValidate="txtuserNm" ErrorMessage="User name is required to do login." 
                        ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td>Password:</td>
                <td>
                    <asp:TextBox ID="txtPassWord" runat="server" MaxLength="30" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPwd" runat="server" 
                        ControlToValidate="txtPassWord" 
                        ErrorMessage="Password is required to do login." ForeColor="Red" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td>
                    
                 </td>
                    <td>
                        <asp:Button ID="btnLogin" runat="server" Text="Login" 
                            onclick="btnLogin_Click" />
                            
                 </td>
            </tr>
            <tr>
                <asp:Label ID="lblError" runat="server" Text=""></asp:Label>
            </tr>
         </table>
    </div>
</asp:Content>

